package com.example.mall.service;


import com.example.mall.dto.ChartDto;
import com.example.mall.mbg.model.Score;

import java.util.List;

/**
 * ScoreService
 * Created by on 2023/12/27.
 */
public interface ScoreService {
    List<Score> listAll();

    int create(Score score);

    int update(Integer scoreid, Score score);

    int delete(Integer scoreid);

    List<Score> list(int pageNum, int pageSize);

    Score get(Integer scoreid);

    List<Score> getScoreList();

    void deleteAll();

    List<ChartDto> getChartList(String period);

    List<ChartDto> getChartDetail(Integer supplierid, String period);

    List<String> getPeriodList();
}
